package com.marvels.product.common.api.hystrix;

import org.springframework.stereotype.Component;

import com.marvels.common.utils.MarvelsLogUtil;
import com.marvels.product.common.api.ProductHelloConsumerApi;

/**
 * 调用外部应用服务失败的返回值
 * @author wangliang
 *
 */

@Component
public class ProductHelloConsumerApiHystrix implements ProductHelloConsumerApi {

	@Override
    public String hello(String name) {
		MarvelsLogUtil.getInstance().info("ProductHelloConsumerApi.hello direct call success!");
        return null;
    }

}
